package com.jetpackmvp.base

import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.OnLifecycleEvent


/**
 * @author: GY.LEE
 * @date: 2019-06-06
 * @Des:
 */
interface LifecycleCallback : LifecycleObserver {


    @OnLifecycleEvent(Lifecycle.Event.ON_DESTROY)
    fun detachView()

}